package Undefinied;

import org.newdawn.slick.*;

public class Anzeigbar {
	public int ID=0;
	public float XPos=0;
	public float YPos=0;
	public int XRange=1337;
	public int YRange=1337;
	public Graphics graph=new Graphics(); 
	
	public Anzeigbar(){
		 
	}
	
	public void paint(){
	}
	
	public void  mouseRepeat(int button, int a, int b) { 
	}	
	
	public boolean MouseOver(int x, int y){
		boolean flag=false;
		
		if(((XPos<x)&&(x<(XPos+XRange))&&((YPos<y)&&(y<(YPos+YRange))))){flag=true;};
		
		return flag;
	}
	
	public Graphics getGraph() {
		return graph;
	}

	public void setGraph(Graphics graph) {
		this.graph = graph;
	}
	
	//@Override
	public void mouseMoved(int oldx, int oldy, int newx, int newy) {
	}
 
	//@Override
	public void mousePressed(int button, int x, int y) {
		
	}
 
	//@Override
	public void mouseReleased(int button, int x, int y) {
	}
 
	//@Override
	public void mouseWheelMoved(int change) {
	}
 
	//@Override
	public void inputEnded() {
 
	}
 
	//@Override
	public boolean isAcceptingInput() {
		return false;
	}
 
	//@Override
	public void setInput(Input arg0) {	
	}

	  
	  void update(Graphics g){

	  }
	  public float getXPos() {
			return XPos;
		}

		public void setXPos(float pos) {
			XPos = pos;
		}

		public float getYPos() {
			return YPos;
		}

		public void setYPos(float pos) {
			YPos = pos;
		}




	 
			

}

